export const columnsS = [
  {
    title: "产线编码",
    width: 100,
    dataIndex: "ProductLineCode",
    key: "ProductLineCode",
    fixed: 'left',
    align:'center'
  },
  {
    title: "生产计划顺序",
    width: 180,
    dataIndex: "ProductOrder",
    key: "ProductOrder",
    align:'center'
  },
  {
    title: "发动机序列号",
    width: 180,
    dataIndex: "ProductCode",
    key: "ProductCode",
    align:'center'
  },
  {
    title: "零部件条码",
    width: 180,
    dataIndex: "PullNumber",
    key: "PullNumber",
    align:'center'
  },
  {
    title: "零部件条码备注",
    width: 180,
    dataIndex: "Memo",
    key: "Memo",
    align:'center'
  },
  {
    title: "来源器具",
    width: 120,
    dataIndex: "FromCID",
    key: "FromCID",
    align:'center'
  },
  {
    title: "目标托盘",
    width: 100,
    dataIndex: "ToCID",
    key: "ToCID",
    align:'center'
  },
  {
    title: "物料名称",
    width: 150,
    dataIndex: "SkuName",
    key: "SkuName",
    align:'center'
  },
  {
    title: "数量",
    width: 100,
    dataIndex: "Qty",
    key: "Qty",
    align:'center'
  },
  {
    title: "是否关键件",
    width: 150,
    dataIndex: "KeyFlag",
    key: "KeyFlag",
    scopedSlots: { customRender: "KeyFlag" },
    align:'center'
  },
  {
    title: "扫描状态",
    width: 100,
    dataIndex: "Status",
    key: "Status",
    align:'center'
  },
  {
    title: "跳过的原因",
    width: 150,
    dataIndex: "SkipReason",
    key: "SkipReason",
    align:'center'
  },
  {
    title: "强制确认的原因",
    width: 150,
    dataIndex: "ForceReason",
    key: "ForceReason",
    align:'center'
  },
  {
    title: "计划日期",
    width: 180,
    dataIndex: "PlanDate",
    key: "PlanDate",
    align:'center'
  },
  {
    title: "创建人",
    width: 120,
    dataIndex: "CreateBy",
    key: "CreateBy",
    align:'center'
  },
  {
    title: "创建时间",
    width: 180,
    dataIndex: "CreateDate",
    key: "CreateDate",
    align:'center'
  },
  {
    title: "修改人",
    width: 120,
    dataIndex: "ModifyBy",
    key: "ModifyBy",
    align:'center'
  },
  {
    title: "修改时间",
    width: 180,
    dataIndex: "ModifyDate",
    key: "ModifyDate",
    fixed: 'right',
    align:'center'
  },
];

export const columnsCode = [
  {
    title: "投料任务单号",
    width: 200,
    dataIndex: "DeliveryId",
    key: "DeliveryId",
    align:'center'
  },
  {
    title: "状态",
    width: 140,
    dataIndex: "Status",
    key: "Status",
    align:'center'
  },
  {
    title: "拉动条码种类数",
    width: 140,
    dataIndex: "PullNumberTypes",
    key: "PullNumberTypes",
    align:'center'
  },
  {
    title: "拉动条码数量",
    width: 120,
    dataIndex: "PullNumbers",
    key: "PullNumbers",
    align:'center'
  },
  {
    title: "拉动条码",
    width: 100,
    dataIndex: "PullNumber",
    key: "PullNumber",
    align:'center'
  },
  {
    title: "计划日期",
    width: 180,
    dataIndex: "PlanDate",
    key: "PlanDate",
    align:'center'
  },
  {
    title: "创建人",
    width: 120,
    dataIndex: "CreateBy",
    key: "CreateBy",
    align:'center'
  },
  {
    title: "创建时间",
    width: 180,
    dataIndex: "CreateDate",
    key: "CreateDate",
    align:'center'
  },
  // {
  //   title: "修改人",
  //   width: 120,
  //   dataIndex: "ModifyBy",
  //   key: "ModifyBy",
  //   align:'center'
  // },
  // {
  //   title: "修改时间",
  //   width: 180,
  //   dataIndex: "ModifyDate",
  //   key: "ModifyDate",
  //   fixed: 'right',
  //   align:'center'
  // },
];


export const columns = [
  {
    title: "旧生产计划顺序",
    dataIndex: "ProductOrder",
    key: "ProductOrder",
    align:'center'
  },
  {
    title: "发动机序列号",
    dataIndex: "ProductCode",
    key: "ProductCode",
    align:'center'
  },
  {
    title: "机型",
    dataIndex: "Model",
    key: "Model",
    align:'center'
  },
  {
    title: "工单编码",
    dataIndex: "OrderNo",
    key: "OrderNo",
    align:'center'
  },
  {
    title: "物料名称",
    dataIndex: "SkuName",
    key: "SkuName",
    align:'center'
  },
  {
    title: "物料编码",
    dataIndex: "SkuId",
    key: "SkuId",
    align:'center'
  },
  {
    title: "波段",
    dataIndex: "Wave",
    key: "Wave",
    align:'Wave'
  },
  {
    title: "拉动条码",
    dataIndex: "BarCodeNumber",
    key: "BarCodeNumber",
    align:'BarCodeNumber'
  },
  {
    title: "数量",
    dataIndex: "Qty",
    key: "Qty",
    align:'center'
  },
  {
    title: "是否关键件",
    dataIndex: "KeyFlag",
    key: "KeyFlag",
    align:'center',
    scopedSlots: { customRender: "KeyFlag" },
  },
  {
    title: "BOM头id",
    dataIndex: "BOMID",
    key: "BOMID",
    align:'center'
  },
  {
    title: "计划日期",
    dataIndex: "PlanDate",
    key: "PlanDate",
    align:'center'
  },
  {
    title: "生产计划状态",
    dataIndex: "Status",
    key: "Status",
    align:'center'
  },
];
 